/*
Riawave - pattern-based best practices for flex 2 development
 
Contact:jeremy@twmug.com
Blog: http://www.twmug.com

All rights reserved, 2006 Richtechmedia.com
*/

package  com.easidea.tim.flex.event {
	
	import flash.events.Event;
	
	public class CustomerEvent extends Event{
		
		public var data:* = "default data";
		public var msg:* = "default msg";
		
		//type, data, arg
		public function CustomerEvent(type:String, ... args){
			
			super(type, true, true);
			
			if(args){
				this.data = ( args[0] != undefined ) ? args[0] : trace("");
				this.msg = ( args[1] != undefined ) ? args[1] : trace("");
			}
		}
		
	}
}